//
//  CommentVideoCell.m
//  LOL_JewelBox
//
//  Created by dllo on 15/4/28.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "CommentVideoCell.h"

@implementation CommentVideoCell

- (void)dealloc
{
    [_ComImageView release];
    [_ComLabel release];
    [super dealloc];
}

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.ComImageView = [[UIImageView alloc]initWithFrame:CGRectMake(5, 10, CONTENTWIDTH *0.9, CONTENTHEIGHT *0.71429)];
        self.ComImageView.contentMode = UIViewContentModeScaleAspectFill;
        self.ComImageView.autoresizesSubviews = YES;
        self.ComImageView.clipsToBounds = YES;
        self.ComImageView.layer.cornerRadius = 10;
        [self.contentView addSubview:self.ComImageView];
        [_ComImageView release];
        
        self.ComLabel = [[UILabel alloc]initWithFrame:CGRectMake(15, CONTENTHEIGHT *0.78571, CONTENTWIDTH, CONTENTHEIGHT *0.21428)];
        [self.contentView addSubview:self.ComLabel];
        [_ComLabel release];
    }
    
    return self;
}


@end
